package top.wilbert.collegelink.message.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import top.wilbert.collegelink.common.utils.R;
import top.wilbert.collegelink.message.entity.ChatMessageEntity;

import java.util.List;

/**
 * @Description:
 * @Author:Jiiangyu
 * @CreatTime:2023-02-27-19:47
 */

public interface ChatMessageService extends IService<ChatMessageEntity> {
    /**
     * get 对应聊天框的消息记录
     * @param FromLinkId
     * @param ToLinkId
     * @return java.util.List<top.wilbert.collegelink.message.entity.ChatMessageEntity>
     **/
    List<ChatMessageEntity> getByLinkId(Long FromLinkId, Long ToLinkId);


}
